package com.itheima.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.domain.OrderReturnApply;

import java.util.List;

/**
 * <p>
 * 订单退货申请 服务类
 * </p>
 *
 * @author fukeke
 * @since 2022-11-11
 */
public interface IOrderReturnApplyService extends IService<OrderReturnApply> {
    //页查询退货申请
    Page pageOrderReturn(Integer pageNum, Integer pageSize, OrderReturnApply orderReturnApply);

    //根据退货申请id，查询退货申请详情
    OrderReturnApply findById(Long id);

    //根据退货申请id，修改退货申请状态
    Integer update(OrderReturnApply orderReturnApply);

    //批量删除退货申请
    Integer delete(List<Long> ids);
}
